<template>
  <div class="hello">
      <img class="bg" src="@/assets/home/indexbg.png" alt="">
      <ul class="ul_box">
        <li  v-for="(item,index) in list" :key="index">
          <img @click="fn1" src="@/assets/home/img1.png"  alt="">
        </li>
      </ul>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data() {
    return {
      list: [1, 2, 3, 4, 5, 6, 7, 8],
    };
  },
  methods: {
    fn1() {
      this.$router.push('/home');
    },
  },
};
</script>

<style scoped>
.bg{
  width: 100%;
  height: 467px;
  position: absolute;
  top: -35px;
}
.ul_box{
  width: 100%;
  height: auto;
  /* padding: 0px 20px; */
  /* border: 1px solid red; */
  margin-top: 420px;
}
.ul_box > li {
  width: 42%;
  margin: 4%;
  float: left;

}
.ul_box > li > img{
  width: 100%;
  height: 100%;
  border-radius: 20px;
}
</style>
